import request from '@/utils/request'

// 封装 登录axios
export const userLogin = (data) => {
  return request.post('/sys/login', data)
}

// 封装 用户信息axios
export const userInfo = () => {
  return request.get('/sys/profile')
}

// 封装修改密码 axios
export const putPassword = (data) => {
  return request.put('/sys/user/updatePass',data)
}